package com.webemail.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import com.webemail.sys.model.SysMessageInbox;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LaiHQ
 */
@Mapper
public interface SysMessageInboxMapper extends BaseMapper<SysMessageInbox> {
    List<SysMessageInbox> page(@Param("userId") long userId, @Param("column")String column,
                               @Param("word")String word, @Param("offset")int offset, @Param("limit")int limit);

    int count(@Param("userId") long userId, @Param("column")String column,@Param("word")String word);
}